package pojo;

public class Admin {
    private String aid;//管理员id
    private String phone;//管理员电话
    private String pwd;//管理员密码
    private String name;//管理员姓名

    public Admin(String aid, String phone, String pwd, String name) {
        this.aid = aid;
        this.phone = phone;
        this.pwd = pwd;
        this.name = name;
    }

    public Admin() {
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "aid='" + aid + '\'' +
                ", phone='" + phone + '\'' +
                ", pwd='" + pwd + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
